package com.example.task.bean;

import java.io.Serializable;

public class Sockettalk implements Serializable {
    private String time;
    private String role;
    private String data;

    @Override
    public String toString() {
        return "Sockettalk{" +
                "time='" + time + '\'' +
                ", role='" + role + '\'' +
                ", data='" + data + '\'' +
                '}';
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Sockettalk(String time, String role, String data) {
        this.time = time;
        this.role = role;
        this.data = data;
    }
}
